package com.wuyoucar.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * 用户登录表
 */
public class TUserlog implements Serializable {
    private Integer id;//用户id;
    private String ipaddress;//用户登录的ip地址
    private String tel ;//用户登录的手机号
    private Integer loginstate;//登陆状态；
    private Date logintime;//登陆时间；

    public TUserlog() {
    }

    public TUserlog(Integer id, String ipaddress, String tel, Integer loginstate, Date logintime) {
        this.id = id;
        this.ipaddress = ipaddress;
        this.tel = tel;
        this.loginstate = loginstate;
        this.logintime = logintime;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getIpaddress() {
        return ipaddress;
    }

    public void setIpaddress(String ipaddress) {
        this.ipaddress = ipaddress;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public Integer getLoginstate() {
        return loginstate;
    }

    public void setLoginstate(Integer loginstate) {
        this.loginstate = loginstate;
    }

    public Date getLogintime() {
        return logintime;
    }

    public void setLogintime(Date logintime) {
        this.logintime = logintime;
    }

    @Override
    public String toString() {
        return "TUserlog{" +
                "id=" + id +
                ", ipaddress='" + ipaddress + '\'' +
                ", tel='" + tel + '\'' +
                ", loginstate=" + loginstate +
                ", logintime=" + logintime +
                '}';
    }
}
